<?php
/* Smarty version 3.1.29, created on 2022-08-24 12:57:40
  from "D:\developers\project\vwins\addons\system\template\header_user.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_6305afc402cae9_87446771',
  'file_dependency' => 
  array (
    '57fd5e1b34de90da69aa6437421cfeb284aab37f' => 
    array (
      0 => 'D:\\developers\\project\\vwins\\addons\\system\\template\\header_user.tpl',
      1 => 1470638334,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6305afc402cae9_87446771 ($_smarty_tpl) {
?>
<div class="header">
    <div class="navbar cf">
        <img class="logo" src="<?php echo $_smarty_tpl->tpl_vars['IMG_PATH']->value;?>
logo.png" alt=""/>
        <h2 class="title">欢迎使用<?php echo $_smarty_tpl->tpl_vars['BASE_NAME']->value;?>
</h2>
        <ul class="nav cf" id="head-nav-menu">
            <li><a class="nav-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
">首页</a></li>
            
            <li><a class="nav-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
question/">常见问题</a></li>
            <li><a class="nav-item-link" href="<?php echo @constant('BRAND_URL');?>
" target="_blank"><?php echo @constant('BRAND_NAME');?>
</a></li>
            <?php if ($_smarty_tpl->tpl_vars['_A']->value['u']['admin'] == 1) {?>
                <li class="dropdown" style="position:relative;">
                    <a class="nav-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
settings/">系统管理</a>
                    <ul style="width:800px;margin-right:5px;" class="dropdown-menu-nav cf nav-item-user">
                        <li class="dropdown-menu-item triangle">
                            <a class="dropdown-menu-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
settings/">系统设置</a>
                        </li>
                        <li class="dropdown-menu-item">
                            <a class="dropdown-menu-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
settings/openweixin/">开放平台</a>
                        </li>
                        <li class="dropdown-menu-item">
                            <a class="dropdown-menu-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
settings/upgrade/">系统更新</a>
                        </li>
                        <li class="dropdown-menu-item">
                            <a class="dropdown-menu-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
settings/users/">客户管理</a>
                        </li>
                        <li class="dropdown-menu-item">
                            <a class="dropdown-menu-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
settings/cloud/">微窗中心</a>
                        </li>
                        <li class="dropdown-menu-item">
                            <a class="dropdown-menu-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
settings/database/">数据备份</a>
                        </li>
                        <li class="dropdown-menu-item">
                            <a class="dropdown-menu-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
settings/functions/">应用管理</a>
                        </li>
                    </ul>
                </li>
            <?php }?>
            <li class="dropdown" style="position:relative;">
                <a class="nav-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
me_edit/">会员中心</a>
                <ul style="width:800px;margin-right:5px;" class="dropdown-menu-nav cf nav-item-user">
                    <li class="dropdown-menu-item triangle" id="out">
                        <a class="dropdown-menu-item-link" href="javascript:void(0);">退出平台</a>
                    </li>
                    <li class="dropdown-menu-item">
                        <a class="dropdown-menu-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
me_pass/">修改密码</a>
                    </li>
                    <li class="dropdown-menu-item">
                        <a class="dropdown-menu-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
me_point/">我的<?php echo @constant('POINT_NAME');?>
</a>
                    </li>
                    <li class="dropdown-menu-item">
                        <a class="dropdown-menu-item-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
me_edit/">注册信息</a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>

<?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['JS_PATH']->value;?>
artdialog/artDialog.js?skin=default"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
    $(document).ready(function() {
        var li_dropdown = $("li.dropdown");
        li_dropdown.mouseover(function(){
            $(this).find("ul").show();
            $(this).addClass("active_s");
        }).mouseout(function(){
            $(this).find("ul").hide();
            $(this).removeClass("active_s");
        });
        li_dropdown.find("ul li#out").click(function() {
            art.dialog({
                title: '退出提示',
                fixed: true,
                lock: true,
                icon: 'warning',
                opacity: '.3',
                content: '您将要退出<?php echo $_smarty_tpl->tpl_vars['BASE_NAME']->value;?>
，页面会自动跳转到登录页面',
                button: [{
                    name: '确定退出',
                    focus: true,
                    callback: function () {
                        $.ajax({
                            url: '<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
out/',
                            success: function (data) {
                                window.location.reload(true);
                            },
                            cache: false
                        });
                        return false;
                    }
                },{
                    name: '取消',
                    callback: function () {
                        return true;
                    }
                }]
            });
        });
    });
<?php echo '</script'; ?>
>
<?php }
}
